package com.dkakunsi.monev.report;

import java.io.InputStream;

import com.dkakunsi.monev.entity.Kegiatan;

public class ProgramReportModel extends InstansiReportModel {
	protected String program;
	
	public ProgramReportModel(Kegiatan k) {
		super(k);
		this.program = k.getProgram().getNama();
	}

	public String getProgram() {
		return program;
	}

	public void setProgram(String program) {
		this.program = program;
	}
	
	public static String monitoringReportPath() {
		return "/com/dkakunsi/pu/monev/res/report/MonitoringByProgram.jasper";
	}
	
	public static String evaluasiReportPath() {
		return "/com/dkakunsi/pu/monev/res/report/EvaluasiProgram.jasper";
	}

	public static InputStream monitoringReportStream() {
		return ProgramReportModel.class.getResourceAsStream(monitoringReportPath());
	}

	public static InputStream evaluasiReportStream() {
		return ProgramReportModel.class.getResourceAsStream(evaluasiReportPath());
	}
}
